{include file="public/header" /}
<body>
       

<div class="layui-fluid">
    <div class="layui-card" >
		<div class="layui-card-header">修改工具入库</div>
      

        <form class="layui-form" action="" id="form1" lay-filter="form1">
            
            
<div class="layui-form-item" >
    <label class="layui-form-label">工具RFID号</label>
	<div class="layui-input-block" >
		<input type="text" lay-verify="required" class="layui-input" id="rfid" name="rfid" value="{$info['rfid']}" >﻿<input type="hidden" id="id" name="id" value="{$info['id']}">
	</div>
    <div class="layui-form-mid layui-word-aux"></div>
</div>


<div class="layui-form-item" >
    <label class="layui-form-label">工具名称</label>
	<div class="layui-input-block" >
		<input type="text" lay-verify="required" class="layui-input" id="name" name="name" value="{$info['name']}" >
	</div>
    <div class="layui-form-mid layui-word-aux"></div>
</div>


<div class="layui-form-item" >
    <label class="layui-form-label">工具类型</label>
	<div class="layui-input-block" >
		<input type="text" lay-verify="required" class="layui-input" id="type" name="type" value="{$info['type']}" >
	</div>
    <div class="layui-form-mid layui-word-aux"></div>
</div>


<div class="layui-form-item" >
    <label class="layui-form-label">工具数量</label>
	<div class="layui-input-block" >
		<input type="text" lay-verify="required" class="layui-input" id="number" name="number" value="{$info['number']}" >
	</div>
    <div class="layui-form-mid layui-word-aux"></div>
</div>


<div class="layui-form-item" >
    <label class="layui-form-label">入库人</label>
	<div class="layui-input-block" >
		<input type="text" lay-verify="required" class="layui-input" id="warehouseman" name="warehouseman" value="{$info['warehouseman']}" >
	</div>
    <div class="layui-form-mid layui-word-aux"></div>
</div>


<div class="layui-form-item" >
    <label class="layui-form-label">报废情况</label>
	<div class="layui-input-block" >
		<select name="status" id="status"  lay-filter="status">
        
                <option value="1" {if $info['status']=='1' } selected="selected"{/if}  >已报废</option>
       
                <option value="0" {if $info['status']=='0' } selected="selected"{/if}  >未报废</option>
       
</select>
	</div>
    <div class="layui-form-mid layui-word-aux"></div>
</div>



            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button type="submit" class="layui-btn" lay-submit="" lay-filter="savedata">保存修改</button>
                </div>
            </div>
        </form>
       <script>
           {php} if(session('roleid')>5){ {/php}
            $("input[name='ispublic']").parent().parent().hide();
           {php}}{/php}
        </script>
    </div>

</div>

      {include file="public/footer" /}
      <script>
			var uploadimgurl = "{:url('/comm/upload/uploadimg')}";
      </script>
      <script src="__SKIN__/js/jmzhfsconfiguploadform.js?v=1.222"></script>
  
      <script type="text/javascript">


            $(function () {
                  formsubmit('form1',"{$editurl}");
            });

      </script>

<style>

    /* 每列表单过多，防止窜行，缩小宽度 */
    .layui-form-label{
       padding: 9px 10px;
    }
    
</style> 
</body>


</html>